package cn.pzhu.java.ch03.inheritance;
class P{
	
	P(String id){
		
		System.out.println("P");
	}
}
class S extends P{
	S(){
		super("00001");
		System.out.println("S");
	}
}
public class ConstructorDemo {
	public static void main(String[] args) {
		//P p=new P();
		S s=new S();
		s.toString();
	}

}
